﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CtpTrader.Core.Common
{
    /// <summary>
    /// 前置机管理类
    /// </summary>
    public class FrontManager
    {
        /// <summary>
        /// 获取模拟环境行情前置机地址
        /// </summary>
        /// <returns>行情前置机地址</returns>
        public static string GetSimulationQuoteFront()
        {
            string front = @"tcp://asp-sim2-md1.financial-trading-platform.com:26213";

            return front;
        }

        /// <summary>
        /// 获取模拟环境交易前置机地址
        /// </summary>
        /// <returns>交易前置机地址</returns>
        public static string GetSimulationTradeFront()
        {
            string front = @"tcp://asp-sim2-front1.financial-trading-platform.com:26205";

            return front;
        }
    }
}
